package com.gxa.pojo;

import org.springframework.stereotype.Repository;

@Repository
public class AlarmVO {
    //告警规则名称
    private String alarmRulesName;

    //推送方式
    private String pushMode;

    public String getAlarmRulesName() {
        return alarmRulesName;
    }

    public void setAlarmRulesName(String alarmRulesName) {
        this.alarmRulesName = alarmRulesName;
    }

    public String getPushMode() {
        return pushMode;
    }

    public void setPushMode(String pushMode) {
        this.pushMode = pushMode;
    }

    private int page;

    private int limit;

    private int begin;


    public int getBegin() {

        return (page-1)*limit;

    }

    public void setBegin(int begin) {
        this.begin = begin;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

}
